package com.yzt.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yzt.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Y
 * @since 2020-12-08
 */
@TableName("user_info")
@ApiModel(value="Info对象", description="")
public class Info extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名称")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    @TableField("user_nike")
    private String userNike;

    @ApiModelProperty(value = "用户密码")
    @TableField("user_pass")
    private String userPass;

    @ApiModelProperty(value = "用户生日")
    @TableField("user_birth")
    private String userBirth;

    @ApiModelProperty(value = "用户年龄")
    @TableField("user_age")
    private Integer userAge;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserNike() {
        return userNike;
    }

    public void setUserNike(String userNike) {
        this.userNike = userNike;
    }
    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }
    public String getUserBirth() {
        return userBirth;
    }

    public void setUserBirth(String userBirth) {
        this.userBirth = userBirth;
    }
    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    @Override
    public String toString() {
        return "Info{" +
            "userName=" + userName +
            ", userNike=" + userNike +
            ", userPass=" + userPass +
            ", userBirth=" + userBirth +
            ", userAge=" + userAge +
        "}";
    }
}
